<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增车牌信息')" />
	<th:block th:include="include :: summernote-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-carCard-add">
			<div class="form-group">
				<label class="col-sm-3 control-label">省份：</label>
				<div class="col-sm-8">
					<input id="region" name="region" class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">市区：</label>
				<div class="col-sm-8">
					<input id="province" name="province" class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">区县：</label>
				<div class="col-sm-8">
					<input id="city" name="city" class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">车牌：</label>
				<div class="col-sm-8">
					<input id="cardNo" name="cardNo" class="form-control" type="text" required>
				</div>
			</div>
		</form>
	</div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "wx/carCard";

		function submitHandler() {
	        if ($.validate.form()) {
				$.operate.save(prefix + "/add", $('#form-carCard-add').serialize());
	        }
	    }
	</script>
</body>
</html>
